﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Dzzzr;

namespace Dzzzr
{
	[ServiceContract]
	public interface IDzzzrTeamManagerService
	{
		///// <summary>
		///// Login and get logged User
		///// </summary>
		///// <param name="login"></param>
		///// <param name="password"></param>
		///// <returns></returns>
		//[OperationContract]
		//DzzzrUser Login(string login, string password);

		///// <summary>
		///// Get Team attached to User
		///// </summary>
		///// <param name="user"></param>
		///// <returns></returns>
		//[OperationContract]
		//DzzzrTeam GetTeam(DzzzrUser user);

		//[OperationContract]
		//User GetUser(string login, string password);
		
		//[OperationContract]
		//Team GetUserTeam(User user);

		[OperationContract]
		User LoginUser(string login, string password);
		
		[OperationContract]
		Team GetUserTeam2(User user);
	}
}
